/* GLOBAL */

html {
  width: 100%;
  height: 100%;
  min-height: 100%;
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  min-width: 300px;
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  color: #ffffff;
  background: #326ce5;
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 100%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

p {
  margin: 0 0 10px;
  padding: 0;
  font-size: 18px;
  line-height: 1.6;
}

a:active,
a:hover,
a:link,
a:visited {
  text-decoration: none;
  color: #ffffff;
  outline: 0;
}

img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.responsive {
  width: 100%;
}

@media only screen and (min-width: 767px) {
  .responsive {
    width: 50%;
  }
}

.container {
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 15px;
}

@media only screen and (min-width: 767px) {
  .container {
    padding: 35px;
  }
}

/* HEADER */

.intro-container {
  position: relative;
  z-index: 10;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 70px;
  text-align: center;
}

@media only screen and (min-width: 767px) {
  .intro-container {
    float: left;
    width: 42%;
    margin-bottom: 0;
    text-align: left;
  }
}

.app-icon {
  margin: 0 auto;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.1));
  -webkit-filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.1));
}

.app-icon img {
  width: 90px;
}

.app-icon p {
  font-size: 35px;
  font-weight: 200;
  white-space: nowrap;
}

@media only screen and (min-width: 767px) {
  .app-icon {
    margin: 0;
  }

  .app-icon p {
    margin-left: 2px;
  }
}

.intro {
  max-width: 300px;
  margin-top: 13%;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
}

@media only screen and (min-width: 767px) {
  .intro {
    max-width: 100%;
    margin-top: 28%;
    margin-bottom: 40px;
  }
}

.intro h2 {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 200;
  line-height: 1.2;
}

@media only screen and (min-width: 580px) {
  .intro h2 {
    font-size: 30px;
  }
}

.badges img {
  height: 50px;
  margin-right: 8px;
  margin-bottom: 8px;
}

@media only screen and (min-width: 767px) {
  .badges {
    float: left;
  }
}

.iphone {
  position: relative;
  max-width: 300px;
  height: 300px;
  margin: 0 auto;
  padding-bottom: 50px;
}

@media only screen and (min-width: 767px) {
  .iphone {
    float: right;
    width: 100%;
    max-width: 42%;
    height: 100%;
    text-align: right;
  }
}

.iphone-screenshot {
  position: relative;
  z-index: 100;
  overflow: hidden;
  width: 86.5%;
  height: 0;
  margin: 0 auto;
  padding-bottom: 182%;
}

@media only screen and (min-width: 767px) {
  .iphone-screenshot {
    z-index: 1;
    width: 87%;
  }
}

.iphone-screenshot img {
  position: absolute;
  top: 13.88%;
  left: 0;
}

.iphone-mask {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: block;
}

/* FOOTER */

.footer {
  margin-bottom: 10px;
  transition: opacity 0.5s ease-out;
  text-decoration: none;
  opacity: 0.7;
  color: #ffffff;
  text-align: center;
}

.sep {
  display: block;
  clear: both;
  width: 100%;
  height: 2px;
  margin: 15px 0;
  background: rgba(255, 255, 255, 0.1);
}

@media only screen and (min-width: 767px) {
  .sep {
    margin-top: 0;
  }
}

.copyright {
  float: left;
  padding-bottom: 12px;
}

@media only screen and (min-width: 767px) {
  .copyright {
    text-align: left;
    padding-bottom: 0;
  }
}

.links {
  float: left;
}

@media only screen and (min-width: 767px) {
  .links {
    text-align: right;
  }

  .links a {
    padding-right: 0;
    padding-left: 12px;
  }
}

/* OIDC */

.open-app {
  width: 100%;
  height: 100%;
  text-align: center;
}

.open-app > a {
  background-color: #326ce5;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: bold;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.open-app > button {
  background-color: #326ce5;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: bold;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.code-state-container {
  padding: 12px;
  word-break: break-all;
}
